
package com.ktgj.common.spring.entity.iata.iata_ordercreaterq;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>SelectedOfferType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="SelectedOfferType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="OfferRefID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="OwnerCode" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="SelectedOfferItem" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}SelectedOfferItemType" maxOccurs="unbounded"/&gt;
 *         &lt;element name="ShoppingResponseRefID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="TotalOfferPriceAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}AmountType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SelectedOfferType", propOrder = {
    "offerRefID",
    "ownerCode",
    "selectedOfferItem",
    "shoppingResponseRefID",
    "totalOfferPriceAmount"
})
public class SelectedOfferType {

    //@XmlElement(name = "OfferRefID", required = true)
    @JSONField(name = "offerRefID")
    protected String offerRefID;
    //@XmlElement(name = "OwnerCode", required = true)
    @JSONField(name = "ownerCode")
    protected String ownerCode;
    //@XmlElement(name = "SelectedOfferItem", required = true)
    @JSONField(name = "selectedOfferItem")
    protected List<SelectedOfferItemType> selectedOfferItem;
    //@XmlElement(name = "ShoppingResponseRefID", required = true)
    @JSONField(name = "shoppingResponseRefID")
    protected String shoppingResponseRefID;
    //@XmlElement(name = "TotalOfferPriceAmount")
    @JSONField(name = "totalOfferPriceAmount")
    protected AmountType totalOfferPriceAmount;

    /**
     * 获取offerRefID属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOfferRefID() {
        return offerRefID;
    }

    /**
     * 设置offerRefID属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOfferRefID(String value) {
        this.offerRefID = value;
    }

    /**
     * 获取ownerCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOwnerCode() {
        return ownerCode;
    }

    /**
     * 设置ownerCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOwnerCode(String value) {
        this.ownerCode = value;
    }

    /**
     * Gets the value of the selectedOfferItem property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the selectedOfferItem property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSelectedOfferItem().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SelectedOfferItemType }
     * 
     * 
     */
    public List<SelectedOfferItemType> getSelectedOfferItem() {
        if (selectedOfferItem == null) {
            selectedOfferItem = new ArrayList<SelectedOfferItemType>();
        }
        return this.selectedOfferItem;
    }

    /**
     * 获取shoppingResponseRefID属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getShoppingResponseRefID() {
        return shoppingResponseRefID;
    }

    /**
     * 设置shoppingResponseRefID属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setShoppingResponseRefID(String value) {
        this.shoppingResponseRefID = value;
    }

    /**
     * 获取totalOfferPriceAmount属性的值。
     * 
     * @return
     *     possible object is
     *     {@link AmountType }
     *     
     */
    public AmountType getTotalOfferPriceAmount() {
        return totalOfferPriceAmount;
    }

    /**
     * 设置totalOfferPriceAmount属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link AmountType }
     *     
     */
    public void setTotalOfferPriceAmount(AmountType value) {
        this.totalOfferPriceAmount = value;
    }

}
